<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
</head>

<body>

  <div id="app">
    <p v-if="gender===1">性别：男</p>
    <p v-else>性别：女</p>
    <p v-if="score>=90">A</p>
    <p v-else-if="score>=80">B</p>
    <p v-else-if="score>=70">C</p>
    <p v-else>D</p>
  </div>
  <div id="xixi">{{msg}}</div>
  <script src="https://cdn.bootcdn.net/ajax/libs/vue/2.7.14/vue.js"></script>
  <script>

    const app = new Vue({
      el: '#app',
      data: {
        gender: 1,
        score: 9
      }
    })
    const xixi = new Vue({
      el: '#xixi',
      data: {
        msg: 'xixi'
      }
    })
  </script>

</body>

</html>